package com.xucy.springboot.common.HashTable;

import static javax.swing.UIManager.get;

/**
 * @Author xucy
 * @Date 2019-04-18 20:10
 * @Description
 **/

public class Test {
    public static void main(String[] args) {
        Person p1=new Person(16,3);
        Person p2=new Person(23,5);
        Person p3=new Person(36,7);
        Person p4=new Person(86,5);
        Person p5=new Person(34,9);


        HashTable hashTable=new HashTable();
        hashTable.put(p1);
        hashTable.put(p2);
        hashTable.put(p3);
        hashTable.put(p4);
        hashTable.put(p5);

        System.out.println(hashTable.get(p5).getCount());
    }
}
